package tw.com.softleader.movie.dao.impl;

import java.util.ArrayList;
import java.util.List;

import org.springframework.stereotype.Repository;

import tw.com.softleader.movie.dao.MovieDao;
import tw.com.softleader.movie.entity.Movie;

@Repository
public class MovieDaoImpl implements MovieDao{
	@Override
	public List<Movie> getAll() {
		
		List<Movie> movies = new ArrayList<Movie>();
		
		Movie movie1 = new Movie();
		movie1.setName("Star");
		movie1.setId(1L);
		movies.add(movie1);
		return movies;
	}
}
